<%@ Page language="vb" Inherits="_2bMatesSite.view_group_photos" CodeFile="view_group_photos.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="uploadImageForm" action="" method="post" runat="server">
	<table height="100%" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
		<tr>
			<td colspan="3">
				<table cellspacing="0" cellpadding="0" width="100%" border="0" class="page_title" id="Table1">
					<tr>
						<td><asp:literal id="litTitle" runat="server"> Photos in Album</asp:literal></td>
						<td align="right"><asp:hyperlink id="hlBackToGroup" runat="server"  cssclass="white_link"></asp:hyperlink></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td colspan="3" height="100%" class="main_table_border">
				<div class="content">
					<asp:label id="lblNoImage" runat="server">There are no photos currently available.</asp:label>
					<asp:datalist id="dlPictures" runat="server" cssclass="data_list" width="100%" repeatcolumns="2"
						horizontalalign="Left" cellpadding="0" borderwidth="0px" showheader="False" showfooter="False" repeatdirection="Horizontal">
						<itemstyle horizontalalign="Left" verticalalign="Top"></ItemStyle>
						<itemtemplate>
							<table cellspacing=0 cellpadding=0 border=0 class="main_text">
								<tr>
									<td class="col_image" style="padding-top:5px" valign="top" width="73" rowspan="2">
										<asp:imagebutton id=imgPhoto runat="server" cssclass="small_image" causesvalidation="False" commandname="ViewLargerPhotoLink" imageurl='<%# DataBinder.Eval(Container.DataItem, "ImageURL") %>' commandargument='<%# DataBinder.Eval(Container.DataItem, "ImageID") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "FoolName") %>'></asp:imagebutton><br>
									</td>
								</tr>
								<tr>
									<td valign=top style="padding-top:8px">
										<asp:linkbutton id=lbViewLargerPhoto runat="server" cssclass="main_text_bold" commandname="ViewLargerPhotoLink" commandargument='<%# DataBinder.Eval(Container.DataItem, "ImageID") %>'>View larger photo and comments</asp:linkbutton>
										<br>
										<asp:linkbutton id=lbPostComment runat="server" cssclass="main_text_bold" commandname="PostComment" commandargument='<%# DataBinder.Eval(Container.DataItem, "ImageID") %>'>Post a comment</asp:linkbutton>
										<br>
										<asp:label id=lblCommentsCount runat="server" font-bold="True"><%# DataBinder.Eval(Container.DataItem, "Comments") %></asp:label>
									</td>
								</tr>
								<tr>
									<td colspan="2">
										<asp:label id=lblDescription runat="server"><%# DataBinder.Eval(Container.DataItem, "Description") %></asp:label><br>
									</td>
								</tr>
							</table>
						</ItemTemplate>
					</asp:datalist>
				</div>				
			</td>
		</tr>
	</table>
</form>
